package com.qijian.maindata.domain.query;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * BOM计划对象 查询条件类
 *
 * @author qijian
 * @date 2022-07-01
 */

@Data
@ToString
@TableName("main_bom_plan")
public class BomPlanQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "bom_id")
    private Long bomId;
    @WhereType(filed = "node_name")
    private String nodeName;
    @WhereType(filed = "process_type_name")
    private String processTypeName;
    @WhereType(filed = "is_split")
    private Boolean isSplit;
    @WhereType(filed = "other_process")
    private String otherProcess;
    @WhereType(filed = "dasys")
    private Long dasys;
    @WhereType(filed = "sort")
    private Long sort;
    @WhereType(filed = "create_id")
    private Long createId;
    @WhereType(filed = "approval_by")
    private String approvalBy;
    @WhereType(filed = "approval_time",type = WhereTypeEnum.BETWEEN)
    private Date[] approvalTime;
    @WhereType(filed = "approval_status")
    private String approvalStatus;



}
